Changing comments layout preparing for generated documentation with Phpdocumentor
[lhc/web/wiklou.git] / includes / Defines.php
1 <?php
2
3 /**
4 * A few constants that might be needed during LocalSettings.php
5 */
6
7 /**#@+
8 * @global integer
9 */
10 define( 'DBO_DEBUG', 1 );
11 define( 'DBO_NOBUFFER', 2 );
12 define( 'DBO_IGNORE', 4 );
13 define( 'DBO_TRX', 8 );
14 define( 'DBO_DEFAULT', 16 );
15 /**#@- */
16
17 /**#@+
18 * Virtual namespaces; these don't appear in the page database
19 * @global integer
20 */
21 define('NS_MEDIA', -2);
22 define('NS_SPECIAL', -1);
23 /**#@- */
24
25 /**#@+
26 * Real namespaces
27 * @global integer
28 */
29 define('NS_MAIN', 0);
30 define('NS_TALK', 1);
31 define('NS_USER', 2);
32 define('NS_USER_TALK', 3);
33 define('NS_PROJECT', 4);
34 define('NS_PROJECT_TALK', 5);
35 define('NS_IMAGE', 6);
36 define('NS_IMAGE_TALK', 7);
37 define('NS_MEDIAWIKI', 8);
38 define('NS_MEDIAWIKI_TALK', 9);
39 define('NS_TEMPLATE', 10);
40 define('NS_TEMPLATE_TALK', 11);
41 define('NS_HELP', 12);
42 define('NS_HELP_TALK', 13);
43 define('NS_CATEGORY', 14);
44 define('NS_CATEGORY_TALK', 15);
45 /**#@- */
46
47 /**#@+
48 * Fix the code and remove these...
49 * @global integer
50 * @todo Globals that need to be removed after code cleaning
51 */
52 define('NS_WP', NS_PROJECT);
53 define('NS_WP_TALK', NS_PROJECT_TALK);
54 define('NS_WIKIPEDIA', NS_PROJECT);
55 define('NS_WIKIPEDIA_TALK', NS_PROJECT_TALK);
56 /**#@- */
57 ?>